package cn.tedu._02notice_test.mapper;

import cn.tedu._02notice_test.pojo.dto.NoticeQueryDTO;
import cn.tedu._02notice_test.pojo.entity.Notice;
import cn.tedu._02notice_test.pojo.vo.NoticeQueryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//@Mapper
public interface NoticeMapper {
    int insertNotice(Notice notice);
    List<NoticeQueryVO> listselect(@Param("title") String title, @Param("type") Integer type);
}
